package com.cdu.mapper;

import com.cdu.pojo.entity.Order;
import com.cdu.pojo.vo.OrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {

    Integer insertOrder(Order order);

    Order getOrderById(Integer id);


    Integer updateOrderStatus(@Param("id") Integer id, @Param("status") Integer status);

    Integer deleteOrder(Integer id);

}